import request from '@/utils/request'

export const practiceApi = {
  savePractice(data) {
    return request.post('/practice/save', data)
  },
  cancelPractice(id) {
    return request.delete(`/practice/cancel/${id}`)
  },
  getPractice(id) {
    return request.get(`/practice/get/${id}`)
  }
}